package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.entity.product.ProductSpec;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author LT
 * @create 2024-03-18-18:08
 */
public interface ProductSpecService {
    PageInfo<ProductSpec> GetProductSpecs(Integer pageNum, Integer pageSize);

    List<ProductSpec> GetAllProductSpec();

    ProductSpec GetProductSpecById(Long id);

    void UpdateProductSpec(ProductSpec productSpec);

    void DeleteProductSpec(Long id);

    void SaveProductSpec(ProductSpec productSpec);

}
